def count_words(string):
    return len(set(string)) 

assert count_words("word") == 4
assert count_words("word11122222") == 6



# ==================================
print(len(set("word11122222")))
print(set("word11122222"))